package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.Dict;

import java.util.List;

/**
 * @author lhh
 * @ClassName DictDao
 * @date 2022/9/17 8:48
 */

public interface DictDao extends BaseDao<Dict> {

    List<Dict> findListByParentId(Long parentId);

    Integer countParent(Long id);

    String getNameById(Long id);

    Dict getByDictCode(String dictCode);

}
